Window Clock

This script sets the clock window below to the current time.


Discussion

This script uses a one-second timeout (one thousand milliseconds) to update the clock. It updates the window by recreating an HTML string with the current date and time when each timeout completes. It sends this new string to the clock window. The timeout is then reset for another second.
Copyright ©1998 by Charles River Media, All Rights Reserved